
#ifndef EVCPE_DOWNLOAD_H_
#define EVCPE_DOWNLOAD_H_

#include "data.h"

struct evcpe_download {
	char CommandKey[33];
	char FileType[65];
	char URL[257];
	char Username[257];
	char Password[257];
	unsigned int FileSize;
	char TargetFileName[257];
	unsigned int DelaySeconds;
	char SuccessURL[257];
	char FailureURL[257];
};

struct evcpe_download *evcpe_download_new(void);

void evcpe_download_free(struct evcpe_download *method);

struct evcpe_download_response {
	int Status;
	char StartTime[26];
	char CompleteTime[26];
};

struct evcpe_download_response *evcpe_download_response_new(void);

void evcpe_download_response_free(
		struct evcpe_download_response *method);

#endif /* EVCPE_DOWNLOAD_H_ */

